<!DOCTYPE html>
<html lang="zh-CN"> <!--简体中文-->
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!--IE8开启标准渲染模式-->
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no">
    <!--配置视窗 名称:viewport 宽度:设备屏幕宽度 页面缩放比:1比1-->
    <!--initial-scale初始的缩放比例 user-scalable-用户是否可以手动缩放-->
    <title>bootstrap项目实战</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
    <!--引入自定义的css-->
    <link href="css/bootstrap-mazi.css" rel="stylesheet"/>
</head>
<body>
<!--导航-->
<nav class="navbar navbar-default">
    <div class="container">
        <!--小屏幕导航按钮和logo-->
        <div class="navbar-header">
            <button class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a href="index.html" class="navbar-brand">Maizi Admin</a>
        </div>
        <!--小屏幕导航按钮和logo-->
        <!--导航-->
        <div class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li><a href="index.html"><span class="glyphicon glyphicon-home"></span>&nbsp;&nbsp;后台首页</a></li>
                <li class="active"><a href="user_list.html"><span class="glyphicon glyphicon-user"></span>&nbsp;&nbsp;用户管理</a></li>
                <li><a href="content.html"><span class="glyphicon glyphicon-list-alt"></span>&nbsp;&nbsp;内容管理</a></li>
                <li><a href="tag.html"><span class="glyphicon glyphicon-tag"></span>&nbsp;&nbsp;标签管理</a><li>
            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li class="dropdown">
                    <a id="dLabel" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                        admin
                        <span class="caret"></span>
                    </a>
                    <ul class="dropdown-menu" aria-labelledby="dLabel">
                        <li><a href="#"><span class="glyphicon glyphicon-screenshot"></span>&nbsp;&nbsp;前台首页</a></li>
                        <li><a href="#"><span class="glyphicon glyphicon-user"></span>&nbsp;&nbsp;个人主页</a></li>
                        <li><a href="#"><span class="glyphicon glyphicon-asterisk"></span>&nbsp;&nbsp;个人设置</a></li>
                        <li><a href="#"><span class="glyphicon glyphicon-credit-card"></span>&nbsp;&nbsp;账户中心</a></li>
                        <li><a href="#"><span class="glyphicon glyphicon-heart"></span>&nbsp;&nbsp;我的收藏</a></li>
                    </ul>
                </li>
                <li><a href="#bbs"><span class="glyphicon glyphicon-off"></span>&nbsp;&nbsp;退出</a></li>
            </ul>
        </div>
        <!--导航-->
    </div>
</nav>
<!--导航-->

<!--内容模块-->
<div class="container">
    <div class="row">
        <!--左侧导航-->
        <div class="col-md-2">
            <div class="list-group">
                <a href="user_list.html" class="list-group-item active">用户管理</a>
                <a href="user_search.html" class="list-group-item">用户搜索</a>
                <!-- Button trigger modal -->
                <a href="" role="button" class="list-group-item" data-toggle="modal" data-target="#myModal">添加用户</a>
            </div>
        </div>
        <!--左侧导航-->
        <!--用户管理-->
        <div class="col-md-10">
            <div class="page-header">
                <h1>用户管理</h1>
            </div>
            <ul class="nav nav-tabs">
                <li class="active">
                    <a href="user_list.html">用户列表</a>
                </li>
                <li>
                    <a href="user_search.html">用户搜索</a>
                </li>
                <li>
                    <!-- Button trigger modal -->
                    <a href="" role="button" data-toggle="modal" data-target="#myModal">添加用户</a>
                </li>
            </ul>
            <!--表格-->
            <table class="table">
                <thead>
                  <tr>
                      <th>ID</th>
                      <th>用户名</th>
                      <th>邮箱</th>
                      <th>操作</th>
                  </tr>
                </thead>
                <tbody>
                  <tr>
                      <th scope="row">1</th>
                      <td>张三</td>
                      <td>123456789@maiziedu.com</td>
                      <td>
                          <div role="presentation" class="dropdown">
                              <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
                                  操作<span class="caret"></span>
                              </button>
                              <ul class="dropdown-menu">
                                  <li><a href="#">编辑</a></li>
                                  <li><a href="#">删除</a></li>
                                  <li><a href="#">锁定</a></li>
                                  <li><a href="#">修改密码</a></li>
                              </ul>
                          </div>
                      </td>
                  </tr>
                  <tr>
                      <th scope="row">2</th>
                      <td>李四</td>
                      <td>121265489@maiziedu.com</td>
                      <td>
                          <div role="presentation" class="dropdown">
                              <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
                                  操作<span class="caret"></span>
                              </button>
                              <ul class="dropdown-menu">
                                  <li><a href="#">编辑</a></li>
                                  <li><a href="#">删除</a></li>
                                  <li><a href="#">锁定</a></li>
                                  <li><a href="#">修改密码</a></li>
                              </ul>
                          </div>
                      </td>
                  </tr>
                  <tr>
                      <th scope="row">1</th>
                      <td>张三</td>
                      <td>123456789@maiziedu.com</td>
                      <td>
                          <div role="presentation" class="dropdown">
                              <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
                                  操作<span class="caret"></span>
                              </button>
                              <ul class="dropdown-menu">
                                  <li><a href="#">编辑</a></li>
                                  <li><a href="#">删除</a></li>
                                  <li><a href="#">锁定</a></li>
                                  <li><a href="#">修改密码</a></li>
                              </ul>
                          </div>
                      </td>
                  </tr>
                  <tr>
                      <th scope="row">2</th>
                      <td>李四</td>
                      <td>121265489@maiziedu.com</td>
                      <td>
                          <div role="presentation" class="dropdown">
                              <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
                                  操作<span class="caret"></span>
                              </button>
                              <ul class="dropdown-menu">
                                  <li><a href="#">编辑</a></li>
                                  <li><a href="#">删除</a></li>
                                  <li><a href="#">锁定</a></li>
                                  <li><a href="#">修改密码</a></li>
                              </ul>
                          </div>
                      </td>
                  </tr>
                  <tr>
                      <th scope="row">1</th>
                      <td>张三</td>
                      <td>123456789@maiziedu.com</td>
                      <td>
                          <div role="presentation" class="dropdown">
                              <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
                                  操作<span class="caret"></span>
                              </button>
                              <ul class="dropdown-menu">
                                  <li><a href="#">编辑</a></li>
                                  <li><a href="#">删除</a></li>
                                  <li><a href="#">锁定</a></li>
                                  <li><a href="#">修改密码</a></li>
                              </ul>
                          </div>
                      </td>
                  </tr>
                  <tr>
                      <th scope="row">2</th>
                      <td>李四</td>
                      <td>121265489@maiziedu.com</td>
                      <td>
                          <div role="presentation" class="dropdown">
                              <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
                                  操作<span class="caret"></span>
                              </button>
                              <ul class="dropdown-menu">
                                  <li><a href="#">编辑</a></li>
                                  <li><a href="#">删除</a></li>
                                  <li><a href="#">锁定</a></li>
                                  <li><a href="#">修改密码</a></li>
                              </ul>
                          </div>
                      </td>
                  </tr>
                  <tr>
                      <th scope="row">1</th>
                      <td>张三</td>
                      <td>123456789@maiziedu.com</td>
                      <td>
                          <div role="presentation" class="dropdown">
                              <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
                                  操作<span class="caret"></span>
                              </button>
                              <ul class="dropdown-menu">
                                  <li><a href="#">编辑</a></li>
                                  <li><a href="#">删除</a></li>
                                  <li><a href="#">锁定</a></li>
                                  <li><a href="#">修改密码</a></li>
                              </ul>
                          </div>
                      </td>
                  </tr>
                  <tr>
                      <th scope="row">2</th>
                      <td>李四</td>
                      <td>121265489@maiziedu.com</td>
                      <td>
                          <div role="presentation" class="dropdown">
                              <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
                                  操作<span class="caret"></span>
                              </button>
                              <ul class="dropdown-menu">
                                  <li><a href="#">编辑</a></li>
                                  <li><a href="#">删除</a></li>
                                  <li><a href="#">锁定</a></li>
                                  <li><a href="#">修改密码</a></li>
                              </ul>
                          </div>
                      </td>
                  </tr>
                  <tr>
                      <th scope="row">1</th>
                      <td>张三</td>
                      <td>123456789@maiziedu.com</td>
                      <td>
                          <div role="presentation" class="dropdown">
                              <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
                                  操作<span class="caret"></span>
                              </button>
                              <ul class="dropdown-menu">
                                  <li><a href="#">编辑</a></li>
                                  <li><a href="#">删除</a></li>
                                  <li><a href="#">锁定</a></li>
                                  <li><a href="#">修改密码</a></li>
                              </ul>
                          </div>
                      </td>
                  </tr>
                  <tr>
                      <th scope="row">2</th>
                      <td>李四</td>
                      <td>121265489@maiziedu.com</td>
                      <td>
                          <div role="presentation" class="dropdown">
                              <button class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">
                                  操作<span class="caret"></span>
                              </button>
                              <ul class="dropdown-menu">
                                  <li><a href="#">编辑</a></li>
                                  <li><a href="#">删除</a></li>
                                  <li><a href="#">锁定</a></li>
                                  <li><a href="#">修改密码</a></li>
                              </ul>
                          </div>
                      </td>
                  </tr>
                </tbody>
            </table>
            <!--表格-->
            <nav class="pull-right">
                <ul class="pagination">
                    <li class="disabled"><a href="#" aria-label="Previous"><span aria-hidden="true">&laquo;</span></a></li>
                    <li class="active"><a href="#">1</a></li>
                    <li><a href="#">2</a></li>
                    <li><a href="#">3</a></li>
                    <li><a href="#">4</a></li>
                    <li><a href="#">5</a></li>
                    <li><a href="#">6</a></li>
                    <li><a href="#"><span aria-hidden="true">&raquo;</span></a></li>
                </ul>
            </nav>
        </div>
        <!--用户管理-->

        <!--用户添加-->
        <!-- Modal -->
        <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
            <div class="modal-dialog" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title" id="myModalLabel">添加用户</h4>
                    </div>
                    <div class="modal-body">
                        <form action="#">
                            <div class="form-group">
                                <label for="addname">用户名</label>
                                <input type="text" id="addname" class="form-control" placeholder="用户名">
                            </div>
                            <div class="form-group">
                                <label for="addpassword">用户密码</label>
                                <input type="text" id="addpassword" class="form-control" placeholder="请输入用户密码">
                            </div>
                            <div class="form-group">
                                <label for="addpassword1">确认用户密码</label>
                                <input type="text" id="addpassword1" class="form-control" placeholder="请确认输入用户密码">
                            </div>
                            <div class="form-group">
                                <label for="addemail">用户邮箱</label>
                                <input type="text" id="addemail" class="form-control" placeholder="请输入用户邮箱">
                            </div>
                            <div class="form-group">
                                <label for="addyonghuzu">所属用户组</label>
                                <select id="addyonghuzu" class="form-control">
                                    <option>限制会员</option>
                                    <option>新手上路</option>
                                    <option>注册会员</option>
                                    <option>中级会员</option>
                                    <option>高级会员</option>
                                </select>
                            </div>
                        </form>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                        <button type="button" class="btn btn-primary">提交</button>
                    </div>
                </div>
            </div>
        </div>
        <!--用户添加-->
    </div>
</div>
<!--内容模块-->

<!--footer-->
<footer>
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <p>
                    Copyright&nbsp;@&nbsp;2012-2015&nbsp;&nbsp;www.maiziedu.com&nbsp;&nbsp;蜀ICP备 13014270号-4
                </p>
            </div>
        </div>
    </div>
</footer>
<!--footer-->

<!--需要先引入jQuery文件，因为bootstrap的js文件依托于jQuery文件-->
<script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!--引入效果插件-->
<script src="js/jquery.singlePageNav.min.js"></script>
<!--引入效果插件-->
</body>
</html>






































